import request from '@/utils/request'

export function list(data) {
  return request({
    url: '/system/company/list',
    method: 'post',
    data: data
  })
}
export function addOrUpdate(data) {
  return request({
    url: '/system/company/addOrEdit',
    method: 'post',
    data: data
  })
}
export function getInfo(data) {
  return request({
    url: '/system/company/' + data,
    method: 'get'
  })
}

export function remove(data) {
  return request({
    url: '/system/company/delete',
    method: 'post',
    data: data
  })
}

export function initFileSystem(data) {
  return request({
    url: '/system/file/data/edit',
    method: 'post',
    data: data
  })
}
export function connetWx(data) {
  return request({
    url: '/system/user/connetWx',
    method: 'post',
    data: data
  })
}

